import React from 'react'
import styles from './Kill.css'
import {connect} from "dva";
import { routerRedux } from 'dva/router';
class Kill extends React.Component{
  constructor(props){
    super(props)
    // console.log(props)
  }
  goBac=()=>{
    this.props.location.callBack()
    this.props.dispatch(routerRedux.goBack())
  }
  render(){
    return (
      <div onClick={this.goBac} className={styles.container}>秒杀页面</div>
    )
  }
}
export default connect()(Kill)
